@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <form id="employee_form" class="form-horizontal">

            <input type="hidden" id="id" value="">
            <input type="hidden" id="placeName" value="">
            <input type="hidden" id="deptName" value="">
            <input type="hidden" id="teamName" value="">

            <div class="row">
                    <div class="col-sm-6 b-r">
                                <#input id="empCode" name="员工编码" underline="true"/>
                                <#input id="empName" name="员工姓名" underline="true" />




                        <#select id="place" name="处/室" underline="true">
                            <option value="">--请先选择部门--</option>
                        </#select>
                        <#select id="postType" name="岗位类别" underline="true">
                            @ for(g in groups!){
                            <option value="${g.num}">${g.name}</option>
                            @}
                        </#select>

                        <#select id="laborType" name="用工类型" underline="true">
                            @ for(labor in laborTypes!){
                            <option value="${labor.name}">${labor.name}</option>
                            @}
                        </#select>
                    </div>

                    <div class="col-sm-6">
                                <#input id="erpCode" name="二级ERP编号" underline="true"/>

                        <#select id="department" name="部门（单位）" underline="true">
                            <option value="">--请选择--</option>
                            @ for(dep in depts!){
                            <option value="${dep.fullname}" code="${dep.id}">${dep.fullname}</option>
                            @}
                        </#select>
                        <#select id="team" name="班组" underline="true">
                            <option value="">--请先选择处/室--</option>
                        </#select>

                                <#input id="post" name="职务（岗位）" underline="true" />

                    </div>
                </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-12 text-center">
                    <button type="submit" class="btn btn-info" onclick="EmployeeInfoDlg.addSubmit()" id="ensure">
                        <i class="fa fa-check"></i>&nbsp;提交
                    </button>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="EmployeeInfoDlg.close()"/>

                </div>
            </div>
        </form>
    </div>
</div>
<script src="${ctxPath}/static/modular/train/employee/employee_info.js?v=${version}"></script>
@}
